﻿namespace WMS6.Web.CommonMethodServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Collections.Generic;
    using System.Data;
    using System.ServiceModel;

    [GeneratedCode("System.ServiceModel", "3.0.0.0"), ServiceContract(Namespace="WMS6.Services", ConfigurationName="CommonMethodServiceRef.ICommonMethodService")]
    public interface ICommonMethodService
    {
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/AuditContractByContractIDFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/AuditContractByContractID", ReplyAction="WMS6.Services/ICommonMethodService/AuditContractByContractIDResponse")]
        string AuditContractByContractID(List<string> contractID, string audit, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/CreatedLocationFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/CreatedLocation", ReplyAction="WMS6.Services/ICommonMethodService/CreatedLocationResponse")]
        string CreatedLocation(CreatedLocationinfo CreateLocation, LocationInfo Location, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/DeleteCustGridviewInfosFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/DeleteCustGridviewInfos", ReplyAction="WMS6.Services/ICommonMethodService/DeleteCustGridviewInfosResponse")]
        string DeleteCustGridviewInfos(string functionID, string gridviewID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetAllAppSettingInfo", ReplyAction="WMS6.Services/ICommonMethodService/GetAllAppSettingInfoResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetAllAppSettingInfoFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        List<AppSettingInfo> GetAllAppSettingInfo();
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetAllVisualLocationInfoFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/GetAllVisualLocationInfo", ReplyAction="WMS6.Services/ICommonMethodService/GetAllVisualLocationInfoResponse")]
        List<VisualLocationInfo> GetAllVisualLocationInfo(VisualLocationQueryEntity VisualLocQuery, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetAppRegInfo", ReplyAction="WMS6.Services/ICommonMethodService/GetAppRegInfoResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetAppRegInfoFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        AppRegInfo GetAppRegInfo(PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetAttributeInfoBySkuID", ReplyAction="WMS6.Services/ICommonMethodService/GetAttributeInfoBySkuIDResponse")]
        LotTemplateInfo GetAttributeInfoBySkuID(string SkuID, string OwnerID, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetAuthorizationUserByTypeFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/GetAuthorizationUserByType", ReplyAction="WMS6.Services/ICommonMethodService/GetAuthorizationUserByTypeResponse")]
        DataSet GetAuthorizationUserByType(string Type, string entityID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetAuthorizedOwnerByUserID", ReplyAction="WMS6.Services/ICommonMethodService/GetAuthorizedOwnerByUserIDResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetAuthorizedOwnerByUserIDFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        List<OwnerInfo> GetAuthorizedOwnerByUserID(string userID, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetAvailableQtyFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/GetAvailableQty", ReplyAction="WMS6.Services/ICommonMethodService/GetAvailableQtyResponse")]
        decimal GetAvailableQty(string ownerID, string skuID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetCartonGroup4Select", ReplyAction="WMS6.Services/ICommonMethodService/GetCartonGroup4SelectResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetCartonGroup4SelectFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        List<CartonGroup4DDL> GetCartonGroup4Select(PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetCustGridviewInfos", ReplyAction="WMS6.Services/ICommonMethodService/GetCustGridviewInfosResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetCustGridviewInfosFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        List<CustGridviewInfo> GetCustGridviewInfos(string functionID, string gridviewID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetCycleCountRule4Select", ReplyAction="WMS6.Services/ICommonMethodService/GetCycleCountRule4SelectResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetCycleCountRule4SelectFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        List<CycleCountRule4DDL> GetCycleCountRule4Select(PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetFieldNameByTableName", ReplyAction="WMS6.Services/ICommonMethodService/GetFieldNameByTableNameResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetFieldNameByTableNameFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        List<FieldNameInfo> GetFieldNameByTableName(string TableName, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetInitGridViewInfoByQueryEntityFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/GetInitGridViewInfoByQueryEntity", ReplyAction="WMS6.Services/ICommonMethodService/GetInitGridViewInfoByQueryEntityResponse")]
        DataSet GetInitGridViewInfoByQueryEntity(InitGridviewQueryEntity initGridviewQuery, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetInitGridviewInfos", ReplyAction="WMS6.Services/ICommonMethodService/GetInitGridviewInfosResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetInitGridviewInfosFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        List<InitGridviewInfo> GetInitGridviewInfos(string functionID, string gridviewID, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetInvSkuQtyByOwnerIDFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/GetInvSkuQtyByOwnerID", ReplyAction="WMS6.Services/ICommonMethodService/GetInvSkuQtyByOwnerIDResponse")]
        DataSet GetInvSkuQtyByOwnerID(string ownerID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetLotAttributCodeByGroupID", ReplyAction="WMS6.Services/ICommonMethodService/GetLotAttributCodeByGroupIDResponse")]
        List<LotAttributeCodeInfo> GetLotAttributCodeByGroupID(string groupID, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetLotAttributeCode4LotTemplateFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/GetLotAttributeCode4LotTemplate", ReplyAction="WMS6.Services/ICommonMethodService/GetLotAttributeCode4LotTemplateResponse")]
        List<string> GetLotAttributeCode4LotTemplate(PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetLotTemplate4SelectFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/GetLotTemplate4Select", ReplyAction="WMS6.Services/ICommonMethodService/GetLotTemplate4SelectResponse")]
        List<LotTemplate4DDL> GetLotTemplate4Select(PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetPreferenceValueByIDFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/GetPreferenceValueByID", ReplyAction="WMS6.Services/ICommonMethodService/GetPreferenceValueByIDResponse")]
        List<PreferenceValueInfo> GetPreferenceValueByID(string preferenceID);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetReceiptValidation4Select", ReplyAction="WMS6.Services/ICommonMethodService/GetReceiptValidation4SelectResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetReceiptValidation4SelectFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        List<ReceiptValidation4DDL> GetReceiptValidation4Select(PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetRelatedOrders", ReplyAction="WMS6.Services/ICommonMethodService/GetRelatedOrdersResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetRelatedOrdersFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        DataSet GetRelatedOrders(string Type, string skuID, string ownerID, string lot, string loc, string lpn, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetRules4SelectFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/GetRules4Select", ReplyAction="WMS6.Services/ICommonMethodService/GetRules4SelectResponse")]
        List<Rule4DDL> GetRules4Select(string ruleID, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetShowGridviewInfoFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/GetShowGridviewInfo", ReplyAction="WMS6.Services/ICommonMethodService/GetShowGridviewInfoResponse")]
        DataSet GetShowGridviewInfo(string functionID, string gridviewID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetSkuByBarcode", ReplyAction="WMS6.Services/ICommonMethodService/GetSkuByBarcodeResponse")]
        SkuInfo GetSkuByBarcode(string Barcode, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetSkuInfoByUserOwnerFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/GetSkuInfoByUserOwner", ReplyAction="WMS6.Services/ICommonMethodService/GetSkuInfoByUserOwnerResponse")]
        SkuInfo GetSkuInfoByUserOwner(string skuID, string userID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetSkuInfosByOwnerIDAndBarCode", ReplyAction="WMS6.Services/ICommonMethodService/GetSkuInfosByOwnerIDAndBarCodeResponse")]
        List<SkuInfo> GetSkuInfosByOwnerIDAndBarCode(string ownerID, string barCode, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetSysCode4DDLFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/GetSysCode4DDL", ReplyAction="WMS6.Services/ICommonMethodService/GetSysCode4DDLResponse")]
        List<SysCode4DDL> GetSysCode4DDL(PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetSysCodeForDropDownList", ReplyAction="WMS6.Services/ICommonMethodService/GetSysCodeForDropDownListResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetSysCodeForDropDownListFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        List<SysCode4DDL> GetSysCodeForDropDownList(string sysCodeType, string language, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetUomListByPackID", ReplyAction="WMS6.Services/ICommonMethodService/GetUomListByPackIDResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetUomListByPackIDFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        List<UomList> GetUomListByPackID(string packID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/GetUserPermissionOwner", ReplyAction="WMS6.Services/ICommonMethodService/GetUserPermissionOwnerResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetUserPermissionOwnerFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        List<Owner4DDL> GetUserPermissionOwner(string userID);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetUserPermissionWareHouseFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/GetUserPermissionWareHouse", ReplyAction="WMS6.Services/ICommonMethodService/GetUserPermissionWareHouseResponse")]
        List<WareHouseName4DDL> GetUserPermissionWareHouse(string userID);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/GetWareHouse4SelectFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/GetWareHouse4Select", ReplyAction="WMS6.Services/ICommonMethodService/GetWareHouse4SelectResponse")]
        List<WareHouseName4DDL> GetWareHouse4Select();
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/ImportByDataFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/ImportByData", ReplyAction="WMS6.Services/ICommonMethodService/ImportByDataResponse"), FaultContract(typeof(List<List<string>>), Action="WMS6.Services/ICommonMethodService/ImportByDataArrayOfArrayOfStringFault", Name="ArrayOfArrayOfstring", Namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays")]
        string ImportByData([MessageParameter(Name="ImportByData")] List<List<string>> ImportByData1, string dataName, string IsUpdate, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/ImportByDataSetFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/ImportByDataSet", ReplyAction="WMS6.Services/ICommonMethodService/ImportByDataSetResponse")]
        string ImportByDataSet(DataSet ds, string dataName, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/InsertCustGridviewInfosFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/InsertCustGridviewInfos", ReplyAction="WMS6.Services/ICommonMethodService/InsertCustGridviewInfosResponse")]
        string InsertCustGridviewInfos(List<CustGridviewInfo> custGridviewInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/LpnGenerateByGenerateType", ReplyAction="WMS6.Services/ICommonMethodService/LpnGenerateByGenerateTypeResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/LpnGenerateByGenerateTypeFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        string LpnGenerateByGenerateType(LPNGenParams lpnGenParams, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/SearchDataByKey", ReplyAction="WMS6.Services/ICommonMethodService/SearchDataByKeyResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/SearchDataByKeyFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        DataSet SearchDataByKey(string key, string key2, string Type, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/SqlAnalyse", ReplyAction="WMS6.Services/ICommonMethodService/SqlAnalyseResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/SqlAnalyseFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        string SqlAnalyse(string strSql, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/SqlQueryFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/SqlQuery", ReplyAction="WMS6.Services/ICommonMethodService/SqlQueryResponse")]
        DataSet SqlQuery(string sql, BaseQuery baseQuery);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/UpdateAuditDefinitionInfoByListFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/UpdateAuditDefinitionInfoByList", ReplyAction="WMS6.Services/ICommonMethodService/UpdateAuditDefinitionInfoByListResponse")]
        string UpdateAuditDefinitionInfoByList(List<AuditDefinitionInfo> objs, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/UpdateAuthorizationUserByType", ReplyAction="WMS6.Services/ICommonMethodService/UpdateAuthorizationUserByTypeResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/UpdateAuthorizationUserByTypeFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        int UpdateAuthorizationUserByType(string authorizationUser, string Type, string entityID, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/UpdateRegIDFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService/UpdateRegID", ReplyAction="WMS6.Services/ICommonMethodService/UpdateRegIDResponse")]
        string UpdateRegID(string regIDValue, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService/UpdateUDF", ReplyAction="WMS6.Services/ICommonMethodService/UpdateUDFResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService/UpdateUDFFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        string UpdateUDF(string ID, UDFInfo udfInfo, string strType, PubParasInfo pubParasInfo);
    }
}

